package com.wjh.client.user;

import com.wjh.kt_vod.model.user.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Wang_Junhong
 * 2022/7/16
 * 文件描述：
 */

@FeignClient(value = "service-user")
public interface UserInfoFeignClient {

    /**
     * 获取用户
     * @param id
     * @return    /api/user/userInfo/inner/getById/{id}
     */

    @GetMapping("/api/user/userInfo/inner/getById/{id}")
    public UserInfo inner(@PathVariable("id") Long id);


}
